Vcenter Vm Storage Policy Info

Vcenter Vm Storage Policy Info
Vcenter Vm Storage Policy Info

The Vcenter Vm Storage Policy Info schema contains information about the storage policies associated with virtual machine's home directory and virtual hard disks.

This schema was added in vSphere API 6.7.

JSON Example
{
    "vm_home": "string",
    "disks": {
        "disks": "string"
    }
}
string
vm_home
Optional

Storage Policy associated with virtual machine home.

This property was added in vSphere API 6.7.

Ifmissing or null, the virtual machine's home directory doesn't have any storage policy.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.vcenter.StoragePolicy.

object
disks
Required

Storage policies associated with virtual disks. The values in this map are storage policy identifiers. They will be identifiers for the resource type:com.vmware.vcenter.StoragePolicy If the map is empty, the virtual machine does not have any disks or its disks are not associated with a storage policy.

This property was added in vSphere API 6.7.

When clients pass a value of this schema as a parameter, the key in the property map must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk. When operations return a value of this schema as a response, the key in the property map will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk.